package com.sit.service;

import jakarta.servlet.http.HttpSession;

public interface CaptchaService {
    // 将验证码存储在会话中，并对其进行加密处理
    public void storeCaptchaInSession(HttpSession session, int length);
    // 生成验证码图片
    public byte[] generateCaptchaImage(int width, int height, int length);
}